try{(function(w,d){zaraz.debug=(dp="")=>{document.cookie=`zarazDebug=${dp}; path=/`;location.reload()};window.zaraz._al=function(da,db,dc){w.zaraz.listeners.push({item:da,type:db,callback:dc});da.addEventListener(db,dc)};zaraz.preview=(cx="")=>{document.cookie=`zarazPreview=${cx}; path=/`;location.reload()};zaraz.i=function(dd){const de=d.createElement("div");de.innerHTML=unescape(dd);const df=de.querySelectorAll("script"),dg=d.querySelector("script[nonce]"),dh=dg?.nonce||dg?.getAttribute("nonce");for(let di=0;dinew Promise((eY=>{if(eX){eX.e&&eX.e.forEach((eZ=>{try{const e$=d.querySelector("script[nonce]"),fa=e$?.nonce||e$?.getAttribute("nonce"),fb=d.createElement("script");fa&&(fb.nonce=fa);fb.innerHTML=eZ;fb.onload=()=>{d.head.removeChild(fb)};d.head.appendChild(fb)}catch(fc){console.error(`Error executing script: ${eZ}\n`,fc)}}));Promise.allSettled((eX.f||[]).map((fd=>fetch(fd[0],fd[1]))))}eY()}));zaraz.pageVariables={};zaraz.__zcl=zaraz.__zcl||{};zaraz.track=async function(cB,cC,cD){return new Promise(((cE,cF)=>{const cG={name:cB,data:{}};if(cC?.__zarazClientEvent)Object.keys(localStorage).filter((cI=>cI.startsWith("_zaraz_google_consent_"))).forEach((cH=>cG.data[cH]=localStorage.getItem(cH)));else{for(const cJ of[localStorage,sessionStorage])Object.keys(cJ||{}).filter((cL=>cL.startsWith("_zaraz_"))).forEach((cK=>{try{cG.data[cK.slice(7)]=JSON.parse(cJ.getItem(cK))}catch{cG.data[cK.slice(7)]=cJ.getItem(cK)}}));Object.keys(zaraz.pageVariables).forEach((cM=>cG.data[cM]=JSON.parse(zaraz.pageVariables[cM])))}Object.keys(zaraz.__zcl).forEach((cN=>cG.data[`__zcl_${cN}`]=zaraz.__zcl[cN]));cG.data.__zarazMCListeners=zaraz.__zarazMCListeners; // cG.data={...cG.data,...cC};cG.zarazData=zarazData;fetch("/cdn-cgi/zaraz/t",{credentials:"include",keepalive:!0,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(cG)}).catch((()=>{ // return fetch("/cdn-cgi/zaraz/t",{credentials:"include",method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(cG)})})).then((function(cP){zarazData._let=(new Date).getTime();cP.ok||cF();return 204!==cP.status&&cP.json()})).then((async cO=>{await zaraz._p(cO);"function"==typeof cD&&cD()})).finally((()=>cE()))}))};zaraz.set=function(cQ,cR,cS){try{cR=JSON.stringify(cR)}catch(cT){return}prefixedKey="_zaraz_"+cQ;sessionStorage&&sessionStorage.removeItem(prefixedKey);localStorage&&localStorage.removeItem(prefixedKey);delete zaraz.pageVariables[cQ];if(void 0!==cR){cS&&"session"==cS.scope?sessionStorage&&sessionStorage.setItem(prefixedKey,cR):cS&&"page"==cS.scope?zaraz.pageVariables[cQ]=cR:localStorage&&localStorage.setItem(prefixedKey,cR);zaraz.__watchVar={key:cQ,value:cR}}};for(const{m:cU,a:cV}of zarazData.q.filter((({m:cW})=>["debug","set"].includes(cW))))zaraz[cU](...cV);for(const{m:cX,a:cY}of zaraz.q)zaraz[cX](...cY);delete zaraz.q;delete zarazData.q;zaraz.spaPageview=()=>{zarazData.l=d.location.href;zarazData.t=d.title;zaraz.pageVariables={};zaraz.__zarazMCListeners={};zaraz.track("__zarazSPA")};zaraz.fulfilTrigger=function(cb,cc,cd,ce){zaraz.__zarazTriggerMap||(zaraz.__zarazTriggerMap={});zaraz.__zarazTriggerMap[cb]||(zaraz.__zarazTriggerMap[cb]="");zaraz.__zarazTriggerMap[cb]+="*"+cc+"*";zaraz.track("__zarazEmpty",{...cd,__zarazClientTriggers:zaraz.__zarazTriggerMap[cb]},ce)};zaraz._processDataLayer=dN=>{for(const dO of Object.entries(dN))zaraz.set(dO[0],dO[1],{scope:"page"});if(dN.event){if(zarazData.dataLayerIgnore&&zarazData.dataLayerIgnore.includes(dN.event))return;let dP={};for(let dQ of dataLayer.slice(0,dataLayer.indexOf(dN)+1))dP={...dP,...dQ};delete dP.event;dN.event.startsWith("gtm.")||zaraz.track(dN.event,dP)}};window.dataLayer=w.dataLayer||[];const dM=w.dataLayer.push;Object.defineProperty(w.dataLayer,"push",{configurable:!0,enumerable:!1,writable:!0,value:function(...dR){let dS=dM.apply(this,dR);zaraz._processDataLayer(dR[0]);return dS}});dataLayer.forEach((dT=>zaraz._processDataLayer(dT)));zaraz._cts=()=>{zaraz._timeouts&&zaraz._timeouts.forEach((dU=>clearTimeout(dU)));zaraz._timeouts=[]};zaraz._rl=function(){w.zaraz.listeners&&w.zaraz.listeners.forEach((dV=>dV.item.removeEventListener(dV.type,dV.callback)));window.zaraz.listeners=[]};history.pushState=function(){try{zaraz._rl();zaraz._cts&&zaraz._cts()}finally{History.prototype.pushState.apply(history,arguments);setTimeout(zaraz.spaPageview,100)}};history.replaceState=function(){try{zaraz._rl();zaraz._cts&&zaraz._cts()}finally{History.prototype.replaceState.apply(history,arguments);setTimeout(zaraz.spaPageview,100)}};zaraz._c=fs=>{const{event:ft,...fu}=fs;zaraz.track(ft,{...fu,__zarazClientEvent:!0})};zaraz._syncedAttributes=["altKey","clientX","clientY","pageX","pageY","button"];zaraz.__zcl.track=!0;d.addEventListener("visibilitychange",(D=>{zaraz._c({event:"visibilityChange",visibilityChange:[{state:d.visibilityState,timestamp:(new Date).getTime()}]},1)}));zaraz.__zcl.visibilityChange=!0;zaraz.__zarazMCListeners={"google-analytics_v4_20ac":["visibilityChange"]};zaraz._p({"e":["(function(w,d){w.zarazData.executed.push(\"Pageview\");})(window,document)","(function(w,d){})(window,document)"],"f":[["https://stats.g.doubleclick.net/g/collect?t=dc&aip=1&_r=3&v=1&_v=j86&tid=G-SEKJ4E9T4H&cid=671c0ae4-a73e-47e5-81ba-3c159ab51b4f&_u=KGDAAEADQAAAAC%7E&z=1871192913",{}]]})})(window,document)}catch(e){throw fetch("/cdn-cgi/zaraz/t"),e;}